Error and Gamma Functions MathLib provides four error and gamma functions: erf(x) Error function erfc(x) Complementary error function gamma(x) Computes (x) lgamma(x) Computes the natural logarithm of the absolute value of gamma(x)